package com.zline.foodraise.entity;

/**
 * Created by heshantao on 15/8/6.
 * 传递给JS 端的地址实例
 */
public class JsAddrBean {
    //城市ID
    long cityId;
    //详细地址
    String detailAddr;
    //纬度
    double latPoint;
    //经度
    double lonPoint;
    //前半段地址
    String preAddr;
    //后半段地址
    String subAddr;
    //城市名
    String city;

    public JsAddrBean() {
    }

    public JsAddrBean(String city, long cityId, String detailAddr,
                      double latPoint, double lonPoint, String preAddr, String subAddr) {
        this.city = city;
        this.cityId = cityId;
        this.detailAddr = detailAddr;
        this.latPoint = latPoint;
        this.lonPoint = lonPoint;
        this.preAddr = preAddr;
        this.subAddr = subAddr;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public long getCityId() {
        return cityId;
    }

    public void setCityId(long cityId) {
        this.cityId = cityId;
    }

    public String getDetailAddr() {
        return detailAddr;
    }

    public void setDetailAddr(String detailAddr) {
        this.detailAddr = detailAddr;
    }

    public double getLatPoint() {
        return latPoint;
    }

    public void setLatPoint(double latPoint) {
        this.latPoint = latPoint;
    }

    public double getLonPoint() {
        return lonPoint;
    }

    public void setLonPoint(double lonPoint) {
        this.lonPoint = lonPoint;
    }

    public String getPreAddr() {
        return preAddr;
    }

    public void setPreAddr(String preAddr) {
        this.preAddr = preAddr;
    }

    public String getSubAddr() {
        return subAddr;
    }

    public void setSubAddr(String subAddr) {
        this.subAddr = subAddr;
    }


}
